package com.ruoyi.common.enums;

/**
 * Created by james-YU on 2020/12/7
 * DESC: 报警表中的状态字典数据
 */
public enum  WarnedStatus {

    ALARM("1", "告警中"),
    WARNING("2", "预警中");

    private final String code;

    private final String value;

    WarnedStatus(String code, String value) {
        this.code = code;
        this.value = value;
    }

    public String getCode() {
        return code;
    }

    public String getValue() {
        return value;
    }
}
